package com.yanqu.road.logic.bussiness.player;

import com.yanqu.road.entity.player.*;
import com.yanqu.road.logic.bussiness.DaoHelper;
import java.util.Map;


public class UserVehicleSoulBussiness {

	public static Map<Integer, UserVehicleSoul> getUserVehicleSoulMap(long userId) {
		return DaoHelper.getUserVehicleSoulDaoImpl().getUserVehicleSoulMap(userId);
	}

	public static Map<Integer, UserVehicleSoul> getUserVehicleSoulEquipMap(long userId) {
		return DaoHelper.getUserVehicleSoulDaoImpl().getUserVehicleSoulEquipMap(userId);
	}

	public static int getUserVehicleSoulMaxId(long userId) {
		return DaoHelper.getUserVehicleSoulDaoImpl().getUserVehicleSoulMaxId(userId);
	}

	public static boolean addUserVehicleSoul(UserVehicleSoul userVehicleSoul) {
		return DaoHelper.getUserVehicleSoulDaoImpl().add(userVehicleSoul);
	}

	public static boolean updateUserVehicleSoul(UserVehicleSoul userVehicleSoul) {
		return DaoHelper.getUserVehicleSoulDaoImpl().update(userVehicleSoul);
	}

}
